<?php
$vars = parse_ini_file("../ini/settings.ini");
$connect = mysql_connect($vars["mysql_host"],$vars["mysql_username"],$vars["mysql_password"]) or die(mysql_error());
$db = mysql_select_db($vars["mysql_database"],$connect);

$id = $_POST['id'];

$sql = "DELETE FROM recording_shows where id=\"$id\"";
$result = mysql_query($sql,$connect);
echo "Recording Deleted";
?>
